import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import service from "@/service";
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import * as echarts from 'echarts';
<<<<<<< Updated upstream
<<<<<<< Updated upstream
import axios from './utils/axios'
=======
// import axios from 'axios'
>>>>>>> Stashed changes
import moment from 'moment'
=======
import axios from 'axios'
>>>>>>> Stashed changes

Vue.config.productionTip = false
// Vue.prototype.$axios = axios
Vue.prototype.$service = service
Vue.prototype.$echarts = echarts //注册组件
Vue.use(ElementUI);
<<<<<<< Updated upstream
Vue.filter('dataFormat', function(time, format) {
    // 格式化时间， 拿到时间
    if (time) {
        return moment(time).format('YYYY-MM-DD HH:mm:ss')
    }
})
=======

>>>>>>> Stashed changes
new Vue({
    router,
    store,
    render: h => h(App)
}).$mount('#app')